package net.cyndeline.entitySystem

trait PersistableEntityManager {
  
  def createEntityWithId(id: Int, components: Iterator[Component]): EntityRef
  def createEntityWithId(id: Int): EntityRef
  def nextId: Int
  def setNextId(id: Int): Unit
  def freedIds: List[Int]
}